using System.Threading.Tasks;
using MinimalistFoodStreet.BackEnd.Infrastructure.Attributes;
using MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Request.Tables;
using MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Response;

namespace MinimalistFoodStreet.BackEnd.Server.IServer.Tables 
{
	[ProvideClassOrInterface]
	public interface IDictionaryTypesServer 
	{
		Task<ResponseApiDto> AddAsync(RequestCreateDictionaryTypesDto dto) ;
		Task<ResponseApiDto> UpdateAsync(RequestUpdateDictionaryTypesDto dto) ;
		Task<ResponseApiDto> DeleteAsync(RequestDeleteDictionaryTypesDto dto) ;
		Task<ResponseApiDto> DetailAsync(int id) ;
		Task<ResponseApiDto> PaginationAsync(int page, int limit,string? key) ;
	}
}